﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TMDT.Web.UI.Shared
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lblChao.Text = "Xin chào, " + Session["User"];
        }

        protected void lbnThoat_Click(object sender, EventArgs e)
        {
            Session["User"] = null;
            Response.Redirect("DangNhap.aspx");
        }

        protected void lbnDangSanPham_Click(object sender, EventArgs e)
        {
            Response.Redirect("Default.aspx");
        }

        protected void lbnQuanLySanPham_Click(object sender, EventArgs e)
        {
            Response.Redirect("QuanLySanPham.aspx");
        }   
    }
}